# 2023-09-21
# 打印图案
for k in range(1, 5):
    for l in range(1, 8):
        if abs(4 - k) < l < 4 + k:
            print('*', end='')
        else:
            print(' ', end='')
    print()

for k in range(1, 4):
    for l in range(1, 8):
        if k < l < 8 - k:
            print('*', end='')
        else:
            print(' ', end='')
    print()
